import { get } from '@/utils/request'

const prefix = 'assemble'

export default {
  /**
   * 活动
   */
  activity: data => get(`${prefix}/activity/index`, data),

  /**
   * 频道
   */
  channel: () => get(`${prefix}/channel/index`),

  /**
   * 分类
   */
  category: () => get(`${prefix}/category/index`),

  /**
   * 品牌
   */
  brand: data => get(`${prefix}/brand/index`, data),

  /**
   * 关键字
   */
  keyword: data => get(`${prefix}/keyword/index`, data),

  /**
   * 聚合商品检索
   */
  goods: data => get(`${prefix}/goods/index`, data)
}
